package com.hsogoo.avatar.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Component;

import com.hsogoo.avatar.control.FallBack;

/**
 * provider方法级别配置
 * @Author huangsaigang
 * Created @2018/10/30.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface AvatarProviderControl {

    int limit() default 0;

    String fallback() default "";

}
